package com.lse_api.mapper;

import com.lse_api.entity.Project;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 项目 Mapper 接口
 * </p>
 *
 * @author 祁雪
 * @since 2020-05-11
 */
public interface ProjectMapper extends BaseMapper<Project> {

    /**
     * 读取项目组旗下项目列表(包含项目创建者信息)
     *
     * @param groupId
     * @return
     */
    public List<Project> getProjectListByGroup(@Param("groupId") String groupId);

}
